<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
        <style>
            .d1 {
                width: 700px;
                height: 200px;
                border: 1px solid red;
            }

            .box {
                float: left;
                margin-left: 30px;
                overflow: hidden;
                position: relative;
            }

            .box img {
                transition: 2s;
            }

            .box:hover .img1,.box:hover .img2 {
                transform: scale(1.2) skewX(40deg);
            }

            .box:hover .mask1{
                opacity: 0.7;
            }
            .box:hover .mask2{
                opacity: 0.7;
            }

            .mask1{
                width: 220px;
                height: 133px;
                background: rgba(43, 43, 43,0.4);
                position: absolute;
                left: 0;
                top: 0;
                color: white;
                opacity: 0.5;
            }
            .mask2{
                width: 332px;
                height: 133px;
                background: rgba(43, 43, 43,0.4);
                position: absolute;
                left: 0;
                top: 0;
                color: white;
                opacity: 0.5;
            }
            .serch1{
                width: 32px;
                height: 34px;
                position: absolute;
                left: 90px;
                top: 45px;
                overflow: hidden;
            }
            .serch2{
                width: 32px;
                height: 34px;
                position: absolute;
                left: 145px;
                top: 45px;
                overflow: hidden;
            }
            .serch1 img:hover img{

            }
        </style>
    </head>
    <body>

        <div class="d1">
            <span class="box">
                <img src="../images/worksimg1.jpg" alt="" class="img1">
                <div class="mask1">1111
                    <div class="serch1"><img src="../images/zoomico.png" alt=""></div>
                </div>
            </span>
            <span class="box">
                <img src="../images/worksimg4.jpg" alt="" class="img2">
                <div class="mask2">2222
                    <div class="serch2"><img src="../images/zoomico.png" alt=""></div>
                </div>
            </span>
        </div>

    </body>
</html>